﻿<navigation:Page
x:Class="MedLink2011.Views.Patients.Controls.WorkFlowsControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
mc:Ignorable="d"
x:Name="WorkFlowControlUI"
Background="AliceBlue"
xmlns:E2C="clr-namespace:MedLink2011.Core"
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
xmlns:viewModels="clr-namespace:MedLink2011.Views.Patients.ViewModels" 
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
xmlns:appControls="clr-namespace:MedLink2011.Controls" 
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
xmlns:telerik1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
xmlns:GridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView">
<!--76 Fields --> 
<UserControl.Resources>
<viewModels:WorkFlowViewModel x:Key="WorkFlowViewModel" ></viewModels:WorkFlowViewModel>
 <LinearGradientBrush x:Key="Windows7RowBackground" EndPoint="0.5,1" StartPoint="0.5,0">
 <GradientStop Color="#FFF7FBFF"/>
 <GradientStop Color="#FFDCE7F5" Offset="1"/>
 <GradientStop Color="#FFDFE9F6" Offset="0.494"/>
 </LinearGradientBrush>
 <ControlTemplate x:Key="MyCustomTelerikRowTemplate" TargetType="GridView:GridViewRow">
 <Border x:Name="rowsContainer" BorderBrush="#FFA0AFC3"
 Background="{StaticResource Windows7RowBackground}" BorderThickness="0,0,0,1">
 <Grid Width="Auto" HorizontalAlignment="Stretch">
 <Grid.RowDefinitions>
 <RowDefinition Height="Auto"/>
 <RowDefinition Height="Auto"/>
 </Grid.RowDefinitions>
 <Grid.ColumnDefinitions>
 <ColumnDefinition Width="Auto" />
 <ColumnDefinition Width="Auto" />
 </Grid.ColumnDefinitions>
 <StackPanel Grid.Column="0" Grid.Row="0" Orientation="vertical" Margin="5" >


<TextBlock Height="20"  Text="Work Flow Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap" />

</StackPanel>
<StackPanel  Grid.Column="1" Grid.Row="0" Orientation="vertical" Margin="5" >
<!-- uno -->
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding WorkFlow_Id}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />

 </StackPanel>
 </Grid>
 </Border>
 </ControlTemplate>
 <Style x:Key="rowStyle" TargetType="GridView:GridViewRow">
 <Setter Property="Template" Value="{StaticResource MyCustomTelerikRowTemplate}" />
 </Style>
</UserControl.Resources>

 <appControls:BusyIndicator telerik1:StyleManager.Theme="Windows7" x:Name="BusyIndicator" BusyContent="Loading WorkFlows data...." DataContext="{Binding Source={StaticResource WorkFlowViewModel}}" Foreground="SlateGray" IsBusy="{Binding IsBusy}">
 <Grid x:Name="LayoutRoot"  DataContext="{Binding Source={StaticResource WorkFlowViewModel}}">
 <Border BorderBrush="#FF505050" BorderThickness="2" CornerRadius="3">
 <Border.Background>
 <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
 <GradientStop Color="#ED71A5D8" Offset="0.8" />
 <GradientStop Color="AliceBlue" Offset="1.09" />
 </LinearGradientBrush>
 </Border.Background>
 <ScrollViewer  VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
 <Grid HorizontalAlignment="Left" x:Name="WorkFlowsGrid" VerticalAlignment="Top" >
<Grid.RowDefinitions>
<RowDefinition Height="32" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
 <ColumnDefinition Width="30" />
 <ColumnDefinition Width="Auto" />
 <ColumnDefinition Width="Auto" />
 <ColumnDefinition Width="60" />
 <ColumnDefinition Width="400*" />
</Grid.ColumnDefinitions>




    <StackPanel Grid.Column="1" Grid.Row="1" Orientation="vertical"  >
<!-- dos -->
<TextBlock Height="30" ToolTipService.ToolTip="Work Flow Id" ToolTipService.Placement="Mouse" Text="Work Flow Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Abdominal Or Flank Pain" ToolTipService.Placement="Mouse" Text="Abdominal Or Flank Pain:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Blood Vessel And Lymphatic" ToolTipService.Placement="Mouse" Text="Blood Vessel And Lymphatic:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Hiv Or Aids" ToolTipService.Placement="Mouse" Text="Hiv Or Aids:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Protozoal And Helminthic" ToolTipService.Placement="Mouse" Text="Protozoal And Helminthic:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Gynecologic" ToolTipService.Placement="Mouse" Text="Gynecologic:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Nervous System Disorder" ToolTipService.Placement="Mouse" Text="Nervous System Disorder:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Fluid Or Electrolyte Disorders" ToolTipService.Placement="Mouse" Text="Fluid Or Electrolyte Disorders:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Hemostasis Thrombosis" ToolTipService.Placement="Mouse" Text="Hemostasis Thrombosis:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Psychiatric Disorder" ToolTipService.Placement="Mouse" Text="Psychiatric Disorder:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Endocrine Disorders" ToolTipService.Placement="Mouse" Text="Endocrine Disorders:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Lipid Disorders" ToolTipService.Placement="Mouse" Text="Lipid Disorders:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Nutritional Disorders" ToolTipService.Placement="Mouse" Text="Nutritional Disorders:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Infectious Diseases And Antimicrobial Therapy" ToolTipService.Placement="Mouse" Text="Infectious Diseases And Antimicrobial Therapy:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Resistance To Antibiotic" ToolTipService.Placement="Mouse" Text="Resistance To Antibiotic:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Viral Diseases" ToolTipService.Placement="Mouse" Text="Viral Diseases:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Spirochetal" ToolTipService.Placement="Mouse" Text="Spirochetal:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Mycotic Infectious" ToolTipService.Placement="Mouse" Text="Mycotic Infectious:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Bleeding Wound" ToolTipService.Placement="Mouse" Text="Bleeding Wound:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Infected Wound" ToolTipService.Placement="Mouse" Text="Infected Wound:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Disorders Due To Physical Agents" ToolTipService.Placement="Mouse" Text="Disorders Due To Physical Agents:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Poisoning" ToolTipService.Placement="Mouse" Text="Poisoning:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Cancer" ToolTipService.Placement="Mouse" Text="Cancer:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Metabolic Disease" ToolTipService.Placement="Mouse" Text="Metabolic Disease:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Bone Fracture" ToolTipService.Placement="Mouse" Text="Bone Fracture:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />

<TextBlock Height="30" ToolTipService.ToolTip="Exposed Fracture" ToolTipService.Placement="Mouse" Text="Exposed Fracture:"  HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Bone Decay" ToolTipService.Placement="Mouse" Text="Bone Decay:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Rheumatic" ToolTipService.Placement="Mouse" Text="Rheumatic:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Aging Problems" ToolTipService.Placement="Mouse" Text="Aging Problems:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Bacterial Or Chlamydial Infections" ToolTipService.Placement="Mouse" Text="Bacterial Or Chlamydial Infections:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Allergic Disease" ToolTipService.Placement="Mouse" Text="Allergic Disease:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Anxiety Or Depression" ToolTipService.Placement="Mouse" Text="Anxiety Or Depression:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Asthma Or Copd Or Wheezing" ToolTipService.Placement="Mouse" Text="Asthma Or Copd Or Wheezing:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Back Or Neck Injury Or Pain" ToolTipService.Placement="Mouse" Text="Back Or Neck Injury Or Pain:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Breast Problems" ToolTipService.Placement="Mouse" Text="Breast Problems:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Cardiovascular" ToolTipService.Placement="Mouse" Text="Cardiovascular:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Chest Pain" ToolTipService.Placement="Mouse" Text="Chest Pain:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Congestive Heart Failure" ToolTipService.Placement="Mouse" Text="Congestive Heart Failure:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Coronary Artery Disease" ToolTipService.Placement="Mouse" Text="Coronary Artery Disease:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Diabetes Mellitus Or Hypoglycemia" ToolTipService.Placement="Mouse" Text="Diabetes Mellitus Or Hypoglycemia:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Ear Nose And Throat" ToolTipService.Placement="Mouse" Text="Ear Nose And Throat:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Epistaxis Or Nasal Foreign Body" ToolTipService.Placement="Mouse" Text="Epistaxis Or Nasal Foreign Body:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Extremity Injury Or Pain" ToolTipService.Placement="Mouse" Text="Extremity Injury Or Pain:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Eye And Lids" ToolTipService.Placement="Mouse" Text="Eye And Lids:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Gastrointestinal Disorders" ToolTipService.Placement="Mouse" Text="Gastrointestinal Disorders:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Urologic" ToolTipService.Placement="Mouse" Text="Urologic:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Liver Biliary Track Or Pancreas" ToolTipService.Placement="Mouse" Text="Liver Biliary Track Or Pancreas:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Headache" ToolTipService.Placement="Mouse" Text="Headache:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Hematologic Disorder" ToolTipService.Placement="Mouse" Text="Hematologic Disorder:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Hepatitis Or Liver Failure" ToolTipService.Placement="Mouse" Text="Hepatitis Or Liver Failure:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />

</StackPanel>
<StackPanel Grid.Column="2" Grid.Row="1" Orientation="vertical"  >

<TextBlock  Height="30" HorizontalAlignment="Left" Margin="1" Text="{Binding CurrentWorkFlow.WorkFlow_Id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" FontWeight="Bold" />
<CheckBox ToolTipService.ToolTip="Abdominal Or Flank Pain" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Abdominal_or_Flank_Pain, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Blood Vessel And Lymphatic" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Blood_Vessel_and_Lymphatic, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Hiv Or Aids" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.HIV_or_AIDS, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Protozoal And Helminthic" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Protozoal_and_Helminthic, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Gynecologic" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Gynecologic, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Nervous System Disorder" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Nervous_System_Disorder, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Fluid Or Electrolyte Disorders" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Fluid_or_Electrolyte_Disorders, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Hemostasis Thrombosis" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Hemostasis_Thrombosis, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Psychiatric Disorder" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Psychiatric_Disorder, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Endocrine Disorders" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Endocrine_Disorders, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Lipid Disorders" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Lipid_Disorders, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Nutritional Disorders" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Nutritional_Disorders, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Infectious Diseases And Antimicrobial Therapy" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Infectious_Diseases_and_Antimicrobial_Therapy, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Resistance To Antibiotic" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Resistance_to_antibiotic, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Viral Diseases" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Viral_Diseases, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Spirochetal" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Spirochetal, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Mycotic Infectious" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Mycotic_Infectious, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Bleeding Wound" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Bleeding_Wound, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Infected Wound" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Infected_Wound, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Disorders Due To Physical Agents" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Disorders_Due_to_Physical_Agents, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Poisoning" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Poisoning, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Cancer" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Cancer, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Metabolic Disease" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Metabolic_Disease, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Bone Fracture" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Bone_Fracture, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />

<CheckBox ToolTipService.ToolTip="Exposed Fracture" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Exposed_Fracture, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Bone Decay" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Bone_Decay, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Rheumatic" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Rheumatic, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Aging Problems" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Aging_Problems, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Bacterial Or Chlamydial Infections" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Bacterial_or_Chlamydial_Infections, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Allergic Disease" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Allergic_Disease, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Anxiety Or Depression" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Anxiety_or_Depression, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Asthma Or Copd Or Wheezing" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Asthma_or_COPD_or_Wheezing, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Back Or Neck Injury Or Pain" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Back_or_Neck_Injury_or_Pain, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Breast Problems" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Breast_Problems, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Cardiovascular" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Cardiovascular, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Chest Pain" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Chest_Pain, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Congestive Heart Failure" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Congestive_Heart_Failure, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Coronary Artery Disease" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Coronary_Artery_Disease, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Diabetes Mellitus Or Hypoglycemia" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Diabetes_Mellitus_or_Hypoglycemia, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Ear Nose And Throat" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Ear_Nose_and_Throat, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Epistaxis Or Nasal Foreign Body" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Epistaxis_or_Nasal_Foreign_Body, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Extremity Injury Or Pain" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Extremity_Injury_or_Pain, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Eye And Lids" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Eye_and_Lids, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Gastrointestinal Disorders" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Gastrointestinal_Disorders, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Urologic" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Urologic, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Liver Biliary Track Or Pancreas" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Liver_Biliary_Track_or_Pancreas, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Headache" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Headache, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Hematologic Disorder" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Hematologic_Disorder, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Hepatitis Or Liver Failure" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Hepatitis_or_Liver_Failure, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />

</StackPanel>



                        <StackPanel Grid.Column="0" Grid.Row="2" Orientation="Horizontal"  Grid.ColumnSpan="5">
                            <Button   x:Name="printButton" Content="Imprimir" Margin="0,10,5,5" Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding PrintWorkFlowCommand}"  />
                            <Button  x:Name="addButton" Content="Agregar Nueva" Margin="5,10,5,5" Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding AddNewWorkFlowCommand}" />
                            <Button   x:Name="saveButton" Content="Guardar" Margin="5,10,5,5"  Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding SaveWorkFlowCommand}"  />
                            <Button   x:Name="deleteButton" Content="Eliminar" Margin="5,10,5,5" Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding DeleteWorkFlowCommand}" />
                        </StackPanel>
                        
<StackPanel Grid.Column="4" Grid.Row="1" Orientation="vertical"  >
<!-- cuatro -->
<!--<Controls:RadDataPager telerik1:StyleManager.Theme="Windows7" Height="33" x:Name="WorkFlowDataPager" PageSize="5" Margin="1,-5,1,1"  Source="{Binding Items, ElementName=WorkFlowDataGrid}" DisplayMode="FirstLastPreviousNext" AutoEllipsisMode="Both" NumericButtonCount="0" IsTotalItemCountFixed="True" Style="{StaticResource RadDataPagerStyle1}"/>-->

<telerik:RadGridView telerik1:StyleManager.Theme="Windows7" ShowColumnHeaders="False" RowStyle="{StaticResource rowStyle}" MinHeight="200" Width="400" Height="200" ShowGroupPanel="False" CanUserFreezeColumns="False" ScrollMode="RealTime"  IsFilteringAllowed="False"   AutoGenerateColumns="False" IsReadOnly="True" GridLinesVisibility="None" DataContext="{Binding Source={StaticResource WorkFlowViewModel}}" ItemsSource="{Binding WorkFlowCollection, Mode=TwoWay}" x:Name="WorkFlowDataGrid" Style="{StaticResource  RadGridViewStyle1}"   >
                             <i:Interaction.Triggers>
                                <i:EventTrigger EventName="SelectionChanged">
                                    <E2C:EventToCommand Command="{Binding SelectionChangedCommand}" PassEventArgsToCommand="True"  ></E2C:EventToCommand>
                                </i:EventTrigger>
                                <i:EventTrigger EventName="RowLoaded">
                                    <E2C:EventToCommand Command="{Binding RowLoadedCommand}" PassEventArgsToCommand="True"  ></E2C:EventToCommand>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                            <telerik:RadGridView.Columns >

<telerik:GridViewDataColumn x:Name="WorkFlow_IdColumn" DataMemberBinding="{Binding WorkFlow_Id}" Header="Work Flow Id" Width="SizeToHeader" />
                            </telerik:RadGridView.Columns>
                        </telerik:RadGridView>

    
   
    
           <StackPanel Orientation="Horizontal" Margin="0,20,0,0" >
        <!--Seis a -->

               <StackPanel Orientation="Vertical" Margin="20,0,0,0" >
            <!--Seis d -->
                    <TextBlock Height="30" ToolTipService.ToolTip="Hyperlipidemia" ToolTipService.Placement="Mouse" Text="Hyperlipidemia:"  HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Hypertension" ToolTipService.Placement="Mouse" Text="Hypertension:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Musculoskeletal" ToolTipService.Placement="Mouse" Text="Musculoskeletal:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Nausea Vomiting Diarrhea" ToolTipService.Placement="Mouse" Text="Nausea Vomiting Diarrhea:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Neurology" ToolTipService.Placement="Mouse" Text="Neurology:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Obesity" ToolTipService.Placement="Mouse" Text="Obesity:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Osteoporosis" ToolTipService.Placement="Mouse" Text="Osteoporosis:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Pediatric Illness" ToolTipService.Placement="Mouse" Text="Pediatric Illness:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Pulmonary" ToolTipService.Placement="Mouse" Text="Pulmonary:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Seizure" ToolTipService.Placement="Mouse" Text="Seizure:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Dermatologic" ToolTipService.Placement="Mouse" Text="Dermatologic:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Sleep Apnea" ToolTipService.Placement="Mouse" Text="Sleep Apnea:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Sore Throat" ToolTipService.Placement="Mouse" Text="Sore Throat:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Dental Pain" ToolTipService.Placement="Mouse" Text="Dental Pain:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Thyroid Disease" ToolTipService.Placement="Mouse" Text="Thyroid Disease:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Upper Respiratory Symptoms" ToolTipService.Placement="Mouse" Text="Upper Respiratory Symptoms:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Vascular Occlusive Disease" ToolTipService.Placement="Mouse" Text="Vascular Occlusive Disease:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="General Physical Exam Adult" ToolTipService.Placement="Mouse" Text="General Physical Exam Adult:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="General Physical Exam Child" ToolTipService.Placement="Mouse" Text="General Physical Exam Child:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Other" ToolTipService.Placement="Mouse" Text="Other:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Other Value" ToolTipService.Placement="Mouse" Text="Other Value:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Patient Id" ToolTipService.Placement="Mouse" Text="Patient Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />

                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="0" >
                <!--Seis e -->
                    <CheckBox ToolTipService.ToolTip="Hyperlipidemia" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Hyperlipidemia, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Hypertension" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Hypertension, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Musculoskeletal" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Musculoskeletal, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Nausea Vomiting Diarrhea" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Nausea_Vomiting_Diarrhea, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Neurology" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Neurology, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Obesity" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Obesity, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Osteoporosis" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Osteoporosis, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Pediatric Illness" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Pediatric_Illness, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Pulmonary" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Pulmonary, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Seizure" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Seizure, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Dermatologic" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Dermatologic, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Sleep Apnea" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Sleep_Apnea, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Sore Throat" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Sore_Throat, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Dental Pain" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Dental_Pain, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Thyroid Disease" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Thyroid_Disease, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Upper Respiratory Symptoms" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Upper_Respiratory_Symptoms, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Vascular Occlusive Disease" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Vascular_Occlusive_Disease, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="General Physical Exam Adult" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.General_Physical_Exam_Adult, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="General Physical Exam Child" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.General_Physical_Exam_Child, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Other" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentWorkFlow.Other, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Other Value" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentWorkFlow.Other_value, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="200"/>

<ComboBox  ItemsSource="{Binding PatientCollection, Mode=TwoWay}" DisplayMemberPath = "First_Name" SelectedItem="{Binding SelectedPatient, Mode=TwoWay}" x:Name="Patient_IdComboBox"  VerticalAlignment="Top" Width="180" FontSize="15" Background="#FFFCF6EA" Height="30" Foreground="Black" Margin="1">
<ComboBox.BorderBrush>
<SolidColorBrush Color="#FF0E1601"/>
</ComboBox.BorderBrush>
</ComboBox>

                </StackPanel>
            </StackPanel>
    
    
    
    
</StackPanel>
    <!-- 3 -->
                    </Grid>
                </ScrollViewer>
            </Border>
        </Grid>
    </appControls:BusyIndicator>
</navigation:Page>
<!--

Now Parent Rels 

Patients

2
-->
